//
//  DPSpeedTestTest.m
//  DPUnitTest
//
//  Created by Ofri Wolfus on 07/10/06.
//  Copyright 2006 Ofri Wolfus. All rights reserved.
//

#import "DPSpeedTestTest.h"


@implementation DPSpeedTestTest

- (id)testNSStringCreation {
	NSString *str = [NSString stringWithString:@"hello"];
	return str;
}

- (BOOL)verifyTestNSStringCreation:(NSString *)str {
	return [str isEqualToString:@"hello"];
}

- (id)testFailedCreation {
	return nil;
}

- (BOOL)verifyTestFailedCreation:(id)obj {
	return obj != nil;
}

- (id)testDefaultValidator {
	return nil;
}

- (BOOL)verifyResult:(id)result ofTest:(SEL)sel {
	if (strcmp(sel_getName(sel), sel_getName(@selector(testDefaultValidator))) == 0)
		return result == nil;
	else
		return NO;
}

- (BOOL)throwsForFaildTests {
	return NO;
}

@end
